package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ProjectName gulimall
 * @ClassName CouponFeignSerice
 * @Dsecriiption TODO
 * @Author warli
 * @Date 2020/10/5、21:16
 **/
//远程调用别的服务
//这是一个声明远程调用
@FeignClient("gulimall-coupon")
public interface CouponFeignSerice {

    @RequestMapping("coupon/coupon/member/list")
    public R memberCoupons();
}
